﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RTracker.Models.Common
{
    public class CUserPermissions
    {

        Int32 m_nActionId;
        bool m_bStatus;

        /// <summary>
        /// Default Constructor of class CUserPermissions
        /// </summary>
        public CUserPermissions()
        {
            m_nActionId = 0;
            m_bStatus = false;
        }
        
        /// <summary>
        /// Constructor of class CUserPermissions
        /// </summary>
        /// <param name="nActionId"></param>
        /// <param name="bStatus"></param>
        public CUserPermissions(Int32 nActionId,bool bStatus)
        {
            m_nActionId = nActionId;
            m_bStatus = bStatus;
        }

        /// <summary>
        /// used to store ActionId
        /// </summary>
        public Int32 ActionId
        {
            get { return m_nActionId;}
            set { m_nActionId = value; }
        }

        /// <summary>
        /// used to store Status
        /// </summary>
        public bool Status
        {
            get { return m_bStatus; }
            set { m_bStatus = value; }
        }
    }
}